package com.zhuoshi.serviceImpl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zhuoshi.IDao.Wd_ht_customerModelMapper;
import com.zhuoshi.bean.Wd_ht_customerModel;
import com.zhuoshi.service.Wd_ht_customerModelService;
@Service
public class Wd_ht_customerModelServiceImpl implements
		Wd_ht_customerModelService {
	@Autowired
	private Wd_ht_customerModelMapper customerDao;
	public int deleteByPrimaryKey(String customerId) {
		return customerDao.deleteByPrimaryKey(customerId);
	}

	public int insert(Wd_ht_customerModel record) {
		return customerDao.insert(record);
	}

	public int insertSelective(Wd_ht_customerModel record) {
		return customerDao.insertSelective(record);
	}

	public Wd_ht_customerModel selectByPrimaryKey(String customerId) {
		return customerDao.selectByPrimaryKey(customerId);
	}

	public int updateByPrimaryKeySelective(Wd_ht_customerModel record) {
		return customerDao.updateByPrimaryKeySelective(record);
	}

	public int updateByPrimaryKey(Wd_ht_customerModel record) {
		return customerDao.updateByPrimaryKey(record);
	}
	//查询全部
	public List<Wd_ht_customerModel> selectAllCustomer() {
		return customerDao.selectAllCustomer();
	}
	//查询
	public List<Wd_ht_customerModel> selectAllCustomer(
			Wd_ht_customerModel customerBean) {
		return customerDao.selectAllCustomer(customerBean);
	}

}
